<!DOCTYPE html>
<html>
  <head>
    <title>程序配置</title>
    <meta name="keywords" content="keyword1,keyword2,keyword3">
    <meta name="description" content="this is my page">
    <meta name="content-type" content="text/html; charset=UTF-8">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!--<link rel="stylesheet" type="text/css" href="./styles.css">-->
   <style>
   	.ul1 li{
   		list-style: none;
   		margin-left: -40px;
   	}
   	.ul1>li{
   		margin-top:20px;
   	}
   	.ul2 li{
   		list-style: none;
   		margin-left: -10px;
   	}
   	.spanStyle{
   		color:green;
   		margin-left:150px;
   	}
	.liStyle{
		color:red;
		margin-left:150px;
	}
   </style>
  </head>
  
  <body>
  	  <h3>程序配置</h3>
  	  <ul class="ul1">
		  <li class="liStyle">配置文件为压缩包中的app文件夹下的  bootstrap.yml </li>
		  <li class="liStyle">配置文件修改完成后，在同级目录中双击AppStart.bat文件启动程序</li>
		  <li class="spanStyle">#================================================按各项目需要修改对应配置=======================================================</li>
		  <li>DISCOVERY_IP: 192.168.0.124   <span class="spanStyle">#注册中心服务IP （当前部署机器的IP，可以是localhost与127.0.0.1 但建议尽量用外部访问地址配！）</span></li>
		  <li></li>
		  <li>REDIS: <span class="spanStyle">#redis </span>
		  <ul class="ul2">
			  <li>IP: 127.0.0.1 <span class="spanStyle">#redis - IP </span></li>
			  <li>PORT: 6379 <span class="spanStyle">#redis - port </span></li>
			  <li>PASSWORD: <span class="spanStyle">#redis - password   如果redis 这是了密码，这里需要配置，没有就配置为空，（建议配置密码） </span></li>
		  </ul>
		  </li>
		  <li></li>
		  <li>MONGO: <span class="spanStyle">#mongoDB </span>
			  <ul class="ul2">
				  <li>IP: 127.0.0.1 <span class="spanStyle">#mongoDB - IP </span></li>
				  <li>PORT: 6379 <span class="spanStyle">#mongoDB - port </span></li>
			  </ul>
		  </li>
		  <li></li>
		  <li>datasource: <span class="spanStyle">#数据源配置 </span>
		  <ul class="ul2">
			  <li>driver-class-name: oracle.jdbc.OracleDriver <span class="spanStyle">#数据库驱动类  </span></li>
			  <li>url: jdbc:oracle:thin:@192.168.0.124:1521/nbwszx <span class="spanStyle">#数据库链接地址</span></li>
			  <li>username: FJZLPT<span class="spanStyle">#数据库访问用户</span></li>
			  <li>password: FJZLPT<span class="spanStyle">#数据库访问用户密码</span></li>
		  </ul>
		  </li>
		  <li></li>
		  <li>yxpjIsOnline: false <span class="spanStyle">#是否上线运行评价（已上线配置true，未上线配置false）</span></li>
		  <li></li>
		  <li>SXZZXT_IP_PORT: 172.16.40.163:9999 <span class="spanStyle">#双向转诊系统IP与端口(广州项目组私有需求）</span></li>
		  <li>API_IP: 127.0.0.1  <span class="spanStyle">#第三方家签访问IP （当前系统外部访问IP,如注册中心的IP外部可以访问，这里可以使用注册中心的IP地址）</span></li>
		  <li>filePath: D:\\ <span class="spanStyle">#quickBoot 文件上传路径 以当前部署服务器磁盘为准自行修改。</span></li>
		  <li>CONSOLE_FILEPATH: d:/console_upload/ <span class="spanStyle">#console项目上传文件路径 以当前部署服务器磁盘为准自行修改。</span></li>
		  <li>QUICKJS_URL: http://${DISCOVERY_IP}:9999/quickJs <span class="spanStyle">#quickJS项目访问路径 （如端口占用自行修改。）</span></li>
		  <li>THYMELEAF_CACHE: false <span class="spanStyle">#spring thymeleaf 模板缓存模式  （生产换下可以配置true   开发测试模式下用false）</span></li>
		  <li>LOGGER_LEVEL: DEBUG <span class="spanStyle">#日志记录级别   （生产换下可以配置INFO  开发测试模式下用DEBUG）</span></li>
		  <li>XZQHDM: 33 <span class="spanStyle">#上级行政区划代码 以当省级两位行政区划代码为准自行修改</span></li>
		  <li class="spanStyle">#=============================================================END=================================================================</li>
		  <li class="spanStyle">#====================================以下配置一般不用修改，（如遇端口被占用按需修改）=======================================================</li>

		  <li class="spanStyle">#端口使用情况：<br>注册中心：8880<br>网关：8780<br>基础平台：8680<br>认证中心：8580<br>业务服务：8480<br>系统管理控制台：8380<br>值域代码：8280<br>
			</li>

  	  	<li>discovery: <span class="spanStyle">#服务中心</span>
  	  		<ul class="ul2">
  	  			<li>server: 
  	  				<ul class="ul2">
  	  					<li>port: 8880</li>
  	  				</ul>
  	  			</li>
  	  			<li>eureka: 
  	  				<ul class="ul2">
  	  					<li>instance: 
  	  						<ul class="ul2">
		  	  					<li>hostname: 127.0.0.1</li>
		  	  				</ul>
  	  					</li>
  	  				</ul>
  	  			</li>
  	  		</ul>
  	  	</li>
  	  	<li>gateway: <span class="spanStyle">#网关</span>
  	  		<ul class="ul2">
  	  			<li>server: 
  	  				<ul class="ul2">
  	  					<li>port: 8780</li>
  	  				</ul>
  	  			</li>
  	  			<li>application: 
  	  				<ul class="ul2">
  	  					<li>name: gateway</li>
  	  				</ul>
  	  			</li>
  	  			<li>authUriSuffix: /**/**.html</li>
  	  		</ul>
  	  	</li>
  	  	<li>plat: <span class="spanStyle">#基础平台</span>
  	  		<ul class="ul2">
  	  			<li>server: 
  	  				<ul class="ul2">
  	  					<li>port: 8680</li>
  	  				</ul>
  	  			</li>
  	  			<li>application: 
  	  				<ul class="ul2">
  	  					<li>name: plat</li>
  	  				</ul>
  	  			</li>
  	  		</ul>
  	  	</li>
  	  	<li>cert: <span class="spanStyle">#认证中心</span>
  	  		<ul class="ul2">
	  	  		<li>server: 
	  	  			<ul class="ul2">
	  	  				<li>port: 8580</li>
	  	  			</ul>
	  	  		</li>
	  	  		<li>application: 
	  	  			<ul class="ul2">
	  	  				<li>name: cert</li>
	  	  			</ul>
	  	  		</li>
	  	  		<li>CertServiceId: ${cert.application.name}</li>
	  	  	</ul>
  	  	</li>
  	  	<li>service: <span class="spanStyle">#业务应用服务</span>
  	  		<ul class="ul2">
  	  			<li>server: 
	  	  			<ul class="ul2">
		  	  			<li>port: 8480</li>
		  	  		</ul>
  	  			</li>
  	  			<li>application: 
  	  				<ul class="ul2">
		  	  			<li>name: service</li>
		  	  		</ul>
  	  			</li>
  	  		</ul>
  	  	</li>
  	  	<li>console: <span class="spanStyle">#系统管理控制台</span>
  	  		<ul class="ul2">
  	  			<li>server: 
	  	  			<ul class="ul2">
		  	  			<li>port: 8380</li>
		  	  		</ul>
  	  			</li>
  	  			<li>application: 
  	  				<ul class="ul2">
		  	  			<li>name: console</li>
		  	  		</ul>
  	  			</li>
  	  			<li>redis: 
  	  				<ul class="ul2">
		  	  			<li>timeoutSecond: 43200</li>
		  	  		</ul>
  	  			</li>
  	  		</ul>
  	  	</li>
  	  	<li>zydm: <span class="spanStyle">#值域代码</span>
  	  		<ul class="ul2">
  	  			<li>server: 
	  	  			<ul class="ul2">
		  	  			<li>port: 8280</li>
		  	  		</ul>
  	  			</li>
  	  			<li>application: 
  	  				<ul class="ul2">
		  	  			<li>name: zydm</li>
		  	  		</ul>
  	  			</li>
  	  		</ul>
  	  	</li>
  	  	
  	  	
  	  	<li>common: <span class="spanStyle">#公用参数</span>
  	  		<ul class="ul2">
  	  			<li>xzqh: <span class="spanStyle">#默认行政区划</span>
	  	  			<ul class="ul2">
		  	  			<li>sjdm: 33</li>
		  	  		</ul>
  	  			</li>
  	  			<li>WSGLJGLBDM: R<span class="spanStyle">#卫生机构管理类别代码前缀</span></li>
  	  			<li>domainKey: AUTH_KEY2b0aca52-a10d-47a6-a291-fcdc801e8808<span class="spanStyle">#认证域Key</span></li>
  	  			<li>loginUrl: /plat/ignore/login.html<span class="spanStyle">#登录页面</span></li>
  	  			<li>redis: 
  	  				<ul class="ul2">
		  	  			<li>host: 127.0.0.1</li>
		  	  			<li>port: 6379</li>
		  	  			<li>password: fjzlpt-redis</li>
		  	  		</ul>
  	  			</li>
  	  			<li>mongo: <span class="spanStyle">#mongo数据库</span>
  	  				<ul class="ul2">
		  	  			<li>mongodb_authentication: true</li>
		  	  			<li>mongodb_authDB: fjzlpt_pro</li>
		  	  			<li>mongodb_username: fjzlpt_pro<span class="spanStyle">#mongo数据库登陆用户名</span></li>
		  	  			<li>mongodb_password: fjzlpt_pro<span class="spanStyle">#mongo数据库登陆密码</span></li>
		  	  			<li>mongodb_dbName: fjzlpt_pro</li>
		  	  			<li>mongodb_connectionsPerHost: 50</li>
		  	  			<li>mongodb_maxConnectionLifeTime: 150000</li>
		  	  			<li>mongodb_connectTimeout: 25000</li>
		  	  			<li>mongodb_maxWaitTime: 300000</li>
		  	  			<li>mongodb_serverSelectionTimeout: 10000</li>
		  	  			<li>mongodb_ip1: 127.0.0.1<span class="spanStyle">#mongo数据库IP</span></li>
		  	  			<li>mongodb_port1: 12666<span class="spanStyle">#mongo数据库port</span></li>
		  	  		</ul>
  	  			</li>
  	  			<li>datasource: <span class="spanStyle">#mysql数据库</span>
  	  				<ul class="ul2">
		  	  			<li>driver-class-name: com.mysql.jdbc.Driver</li>
		  	  			<li>url: jdbc:mysql://139.224.33.116:3306/fjzlpt?rewriteBatchedStatements=true&useUnicode=true&characterEncoding=UTF-8&generateSimpleParameterMetadata=true&autoReconnect=true&useSSL=false</li>
		  	  			<li>username: fjzlpt</li>
		  	  			<li>password: fjzlpt</li>
		  	  		</ul>
  	  			</li>
  	  			<li>quickJs-url: http://127.0.0.1:9999/quickJs<span class="spanStyle">#quickJs-静态文件请求路径</span></li>
  	  			<li>ignoreParrent:<span class="spanStyle">#自定义过滤器忽略关键字</span>
  	  				<ul class="ul2">
		  	  			<li>- /**/ignore/**</li>
		  	  			<li>- /**/zydm/**</li>
		  	  			<li>- /**/druid/**</li>
		  	  			<li>- /**/*.css*</li>
		  	  			<li>- /**/ignore/**</li>
		  	  			<li>- /**/*.js*</li>
		  	  			<li>- /**/*.woff*</li>
		  	  			<li>- /**/*.png*</li>
		  	  			<li>- /**/*.jpg*</li>
		  	  			<li>- /**/*.gif*</li>
		  	  			<li>- /**/*.ico*</li>
		  	  			<li>- /**/health/**</li>
		  	  			<li>- /**/env/**</li>
		  	  			<li>- /**/metrics/**</li>
		  	  			<li>- /**/trace/**</li>
		  	  			<li>- /**/dump/**</li>
		  	  			<li>- /**/jolokia/**</li>
		  	  			<li>- /**/info/**</li>
		  	  			<li>- /**/logfile/**</li>
		  	  			<li>- /**/refresh/**</li>
		  	  			<li>- /**/flyway/**</li>
		  	  			<li>- /**/liquibase/**</li>
		  	  			<li>- /**/heapdump/**</li>
		  	  			<li>- /**/loggers/**</li>
		  	  			<li>- /**/auditevents/**</li>
		  	  		</ul>
  	  			</li>
  	  			<li>ignoreParrent:<span class="spanStyle">#自定义过滤器忽略关键字</span>
  	  				<ul class="ul2">
  	  					<li>- ${gateway.authUriSuffix}</li>
		  	  			<li>- /**/**</li>
		  	  		</ul>
  	  			</li>
  	  			<li>cookie:
  	  				<ul class="ul2">
  	  					<li>max-age: 86400</li>
		  	  		</ul>
  	  			</li>
  	  		</ul>
  	  	</li>
  	  	<li>logging:<span class="spanStyle">#日志配置</span>
  	  		<ul class="ul2">
 	  			<li>level:
 	  				<ul class="ul2">
 	  					<li>org.springframework: info</li>
 	  					<li>com.quick: DEBUG</li>
 	  					<li>com.wondersgroup.fjzlpt: DEBUG</li>
 	  				</ul>
 	  			</li>
 	  		</ul>
  	  	</li>
  	  	<li>security:
  	  		<ul class="ul2">
 	  			<li>basic:
 	  				<ul class="ul2">
 	  					<li>enabled: false</li>
 	  					<li>authorize-mode: none</li>
 	  				</ul>
 	  			</li>
 	  		</ul>
  	  	</li>
  	  	<li>management:
  	  		<ul class="ul2">
 	  			<li>security:
 	  				<ul class="ul2">
 	  					<li>enabled: false</li>
 	  				</ul>
 	  			</li>
 	  		</ul>
  	  	</li>
  	  	<li>ribbon: <span class="spanStyle">#路由配置</span>
  	  		<ul class="ul2">
 	  			<li>ReadTimeout: 60000</li>
 	  			<li>ConnectTimeout: 6000</li>
 	  		</ul>
  	  	</li>
  	  	<li>hystrix: 
  	  		<ul class="ul2">
 	  			<li>command: 
 	  				<ul class="ul2">
 	  					<li>default: 
 	  						<ul class="ul2">
 	  							<li>execution: 
 	  								<ul class="ul2">
 	  									<li>timeout: 
 	  										<ul class="ul2">
 	  											<li>enabled: false</li>
 	  										</ul>
 	  									</li>
 	  								</ul>
 	  							</li>
 	  						</ul>
 	  					</li>
 	  				</ul>
 	  			</li>
 	  		</ul>
  	  	</li>
  	  	
  	  	<li>zuul: 
  	  		<ul class="ul2">
  	  			<li>routes:
  	  				<ul class="ul2">
						<li>plat: 
							<ul class="ul2">
								<li>path: /plat/**</li>
							</ul>
						</li>
						<li>console: 
							<ul class="ul2">
								<li>path: /console/**</li>
							</ul>
						</li>
						<li>service: 
							<ul class="ul2">
								<li>path: /service/**</li>
							</ul>
						</li>
						<li>zydm: 
							<ul class="ul2">
								<li>path: /zydm/**</li>
							</ul>
						</li>
						<li>quickJs: 
							<ul class="ul2">
								<li>path: /quickJs/**</li>
								<li>url: ${common.quickJs-url}</li>
							</ul>
						</li>
					</ul>
  	  			</li>
  	  		</ul>
  	  	</li>
  	  	<li>zuul.sensitive-headers: true</li>
  	  	<li>zuul.add-host-header: true</li>
  	  	<li>spring:<span class="spanStyle">#spring配置</span>
  	  		<ul class="ul2">
				<li>datasource: 
					<ul class="ul2">
						<li>driver-class-name: ${common.datasource.driver-class-name}</li>
						<li>master-url: ${common.datasource.url}</li>
						<li>username: ${common.datasource.username}</li>
						<li>password: ${common.datasource.password}</li>
					</ul>
				</li>
				<li>redis: 
					<ul class="ul2">
						<li>database: 0 <span class="spanStyle"># Redis数据库索引（默认为0）</span></li>
						<li>host: ${common.redis.host} <span class="spanStyle"># Redis服务器地址</span></li>
						<li>port: ${common.redis.port} <span class="spanStyle"># Redis服务器连接端口</span></li>
						<li>password: ${common.redis.password} <span class="spanStyle"># Redis服务器连接密码（默认为空）</span></li>
						<li>timeout: 0 <span class="spanStyle"># 连接超时时间（毫秒）</span></li>
						<li>pool:
							<ul class="ul2">
								<li>max-active: 10 <span class="spanStyle"># 连接池最大连接数（使用负值表示没有限制）</span></li>
								<li>max-wait: -1 <span class="spanStyle"># 连接池最大阻塞等待时间（使用负值表示没有限制）</span></li>
								<li>max-idle: 8 <span class="spanStyle"># 连接池中的最大  空闲连接</span></li>
								<li>min-idle: 0 <span class="spanStyle"># 连接池中的最小空闲连接</span></li>
							</ul>
						</li>
					</ul>
				</li>
				<li>thymeleaf: 
					<ul class="ul2">
						<li>cache: false</li>
						<li>check-template: true</li>
						<li>check-template-location: true</li>
						<li>content-type: text/html</li>
						<li>enabled: true</li>
						<li>encoding: UTF-8</li>
						<li>mode: LEGACYHTML5</li>
						<li>prefix: classpath:/templates/</li>
						<li>suffix: .html</li>
					</ul>
				</li>
				<li>jmx: 
					<ul class="ul2">
						<li>enabled: false</li>
					</ul>
				</li>
			</ul>
  	  	</li>
  	  	<li>eureka:<span class="spanStyle">#客户端服务注册</span>
  	  		<ul class="ul2">
  	  			<li>client: 
  	  				<ul class="ul2">
  	  					<li>serviceUrl:
  	  						<ul class="ul2">
  	  							<li>defaultZone: http://${discovery.eureka.instance.hostname}:${discovery.server.port}/eureka/</li>
  	  						</ul>
  	  					</li>
  	  				</ul>
  	  			</li>
  	  		</ul>
  	  	</li>
  	  </ul>
  </body>
</html>
